{extend name="common/form" /}
    {block name="form" /}
    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl">用户信息</div>
            </div>
            <div class="widget-body am-fr">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                    <table width="100%" class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped tpl-table-black " id="example-r">
                        <tbody>
                            <tr class="gradeX">
                                <td>用户昵称</td>
                                <td>{$info.nickname}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>电话</td>
                                <td>{$info.telephone}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>邮箱</td>
                                <td>{$info.email}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>所属运营中心</td>
                                <td>{$info.operate_name}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>代理级别</td>
                                <td>{$info.agent_name}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>岗位</td>
                                <td>{$info.user_job_name|default="普通"}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>余额</td>
                                <td>{$info.commission/100}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>上级推荐人手机</td>
                                <td>{$info.parent_telephone}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>上级代理人手机</td>
                                <td>{$info.parent_agent_telephone}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>登录状态</td>
                                <td>{eq name='$info.lock' value='1'}正常{else/}锁定{/eq}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>性别</td>
                                <td>{$info.sex}</td>
                            </tr>

                            <tr class="even gradeC">
                                <td>直推人数</td>
                                <td>{$info.recommend_number}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>支付宝账号</td>
                                <td>{$info.alipay|default="未绑定"}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>真实姓名</td>
                                <td>{$info.true_name|default="未实名"}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>身份证号</td>
                                <td>{notempty name="$info.true_name"}
                                        {$info.IDCard}
                                    {else}
                                        未实名
                                    {/notempty}
                                </td>
                            </tr>
                            <tr class="even gradeC">
                                <td>联通工号</td>
                                <td>{$info.lt_number}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>推荐码</td>
                                <td>{$info.share_code}</td>
                            </tr>

                            <tr class="even gradeC">
                                <td>注册时间</td>
                                <td>{$info.create_time}</td>
                            </tr>
                            <tr class="even gradeC">
                                <td>最后登录时间</td>
                                <td>{$info.login_time}</td>
                            </tr>
                            <!--<tr class="even gradeC">
                                <td>用过手机号</td>
                                <td>{php}
                                        $phone = json_decode($info['old_telephone'],true);
                                            foreach($phone as $v){
                                                echo $v['telephone'].',';
                                            }
                                    {/php}
                                </td>
                            </tr>-->

                        </tbody>
                    </table>

                </div>
            </div>
        </div>
    </div>
    {/block}
{/extend}